package co.baiku.boot.pay.v3.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
@JsonIgnoreProperties(ignoreUnknown = true)
public class WeixinPayScoreUserServiceStateResponse implements Serializable {
    /**
     * 公众账号ID
     */
    private String appid;
    /**
     * 用户标识
     */
    private String openid;
    /**
     * 调用该接口提交的服务ID。
     */
    @JsonProperty("service_id")
    private String serviceId;
    /**
     * 用户授权服务情况
     * <pre>
     * 标识用户授权服务情况。
     * UNAVAILABLE：用户未授权服务
     * AVAILABLE：用户已授权服务
     * 示例值：AVAILABLE
     * </pre>
     */
    @JsonProperty("use_service_state")
    private String useServiceState;

    public String getUseServiceState() {
        return useServiceState;
    }

    public void setUseServiceState(String useServiceState) {
        this.useServiceState = useServiceState;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }
}
